package com.car.domain;

import java.io.Serializable;
import java.time.LocalDateTime;
@SuppressWarnings("all")
public class PurchaseRecord implements Serializable {
    private static final long serialVersionUID =611990098868239215L;
    private Integer id;
    private Integer carId;
    private Integer userId;
    private Integer employeeId;
    private LocalDateTime purchaseDate;

    public PurchaseRecord() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public LocalDateTime getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(LocalDateTime purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    @Override
    public String toString() {
        return "PurchaseRecord{" +
                "id=" + id +
                ", carId=" + carId +
                ", userId=" + userId +
                ", employeeId=" + employeeId +
                ", purchaseDate=" + purchaseDate +
                '}';
    }
}

